package threads;


public class CreateThread1 extends Thread
{
	public CreateThread1(String name)
	{
		super(name);
	}
	
	public void run()
	{
		for (int i = 0; i < 10; i++)
		{
			System.out.println(this.getName());
		}
	}
	
	public static void main(String[] args)
	{
		CreateThread1 t1 = new CreateThread1("A");
		CreateThread1 t2 = new CreateThread1("	B");
		t1.start();
		t2.start();
	}
}
